package com.ea.common.enums;

/**
 * @author NAME-L
 * @Description TODO
 * @className YesOrNoEnum
 * @date 2022-12-08 01:19:32
 */
public enum YesOrNoEnum {

    YES(1,"是"),

    NO(0,"否");

    private Integer code;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    YesOrNoEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
